/* Main Settings */ 
#sjb {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;margin-bottom:20px;border:1px solid #fff;border-radius:10px;color:#343848;background-color: #FFFFFF;padding:24px;font-size:14px;}

#sjb .sjb_sliders {display:block;max-width: 600px;margin: 24px auto 0;}

#sjb .summary {font-size: 22px; font-weight: 900;text-align: center;margin: 12px 0;}
#sjb .savinglabel {font-size: 18px; font-weight: 500;text-align: center;padding: 6px 0;}
#sjb .savinglabel span {color:#1876ba;}

/* Input Side */
#sjb .sjb-slider-growth {margin-bottom: 24px;margin-top: 24px;}
#sjb .sjb-slider-principal {margin-bottom: 24px;}

/* Circle Rules */
#sjb .sjb-down { height: 25px; width: 25px; position: absolute; left: 0; border-radius: 12.5px; border: 1px solid #1876ba; }
#sjb .sjb-down:after {
	content: "";
	width: 15px;
	position: absolute;
	height: 3px;
	background-color: #1876ba;
	top: 50%;
	margin-top: -1.5px;
	left: 50%; 
	margin-left: -7.5px;
}
#sjb .sjb-up { height: 25px; width: 25px; position: absolute; right: 0;border-radius: 12.5px; border: 1px solid #1876ba; }

#sjb .sjb-up:after {
	content: "";
	width: 15px;
	position: absolute;
	height: 3px;
	background-color: #1876ba;
	top: 50%;
	left: 50%; 
	margin-top: -1.5px;
	margin-left: -7.5px;
}
#sjb .sjb-up:before {
	content: "";
	width: 3px;
	position: absolute;
	height: 15px;
	background-color: #1876ba;
	top: 50%;
	left: 50%;
	margin-top: -7.5px;
	margin-left: -1.5px;
}
#sjb .sjb-up:hover, #sjb .sjb-down:hover { background-color: #e6e6e6; cursor: pointer; }
#sjb .sjb-control {touch-action: none;}

/* Slider Values */
#sjb .output-values {line-height: 25px; font-size:19px;color: #343848;text-align: center;white-space: nowrap;}
#sjb .output-values output {color: #1876ba;padding-left: 12px;display:inline-block;}
#sjb .output-pad { padding: 0 25px; line-height: 25px; min-height: 25px; position: relative; text-align: center;}

/* Range Sliders */
#sjb .sjb, #sjb .sjb__fill {background: #e6e6e6;display: block;height: 14px;border-radius: 7px;box-sizing: border-box;}

#sjb .sjb {position: relative;height: 14px;width: 100%;margin:16px 0 14px 0;}

#sjb .sjb--disabled {filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity: 0.4;}

#sjb .sjb__fill {height: 14px;width: 100%;background: #1876ba;position: absolute;top: 0;border-radius: 7px 0 0 7px;}

#sjb .sjb__handle {
	background: #FFFFFF;
	cursor: pointer;
	display: inline-block;
	width: 21px;
	height:21px;
	position: absolute;
	top: -5px;
	border-radius: 50%;
	border: 1px solid #0A0A0A;
	box-sizing: content-box !important;
}

/* Slider Label */
#sjb .slider-label {margin: 6px 0 6px 0;text-align: left;}

/* Progress Labels */
.advisorcaptions {display:grid;grid-template-columns:50% 50%;color: #343848;text-align: center;font-weight: 900;margin: 12px 0;}

/* Progress Bars */
.sjbprogress {
	display:grid;
	grid-template-columns:10% 18% 18% 8% 18% 18% 10%;
	color: #343848;
	margin: 50px 0 50px 0;
}

.sjbprogress2 {position:relative;
	display:flex;
	align-items:center;
	justify-content: center;
}

.sjbprogress2 span {
	position: absolute;
	color: #fff;
	bottom:-30px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 4px;
	left: 0;
	right: 0;
	text-align: center;
	font-size:20px;
	font-weight: 900;
	border-bottom: 1px solid #ccc;
}

#sjb .progresstitle {font-size:18px;font-weight: 900;}
.sjbprogress div.progresslabel1 {text-align: right;padding: 18px 12px 18px 0;height: 60px;border-right: 1px solid #d5d5d5;font-size:18px;}
.sjbprogress div.progresslabel2 {text-align: right;padding: 12px 12px 12px 0;height: 60px;border-right: 1px solid #d5d5d5;font-size:18px;}

#sjb progress {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: none;
	border-radius: 0;
	overflow:hidden;
	background-color: #ffffff;
	width: 180px;
	height: 100px;
	transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg); /*Webkit*/
	-moz-transform: rotate(-90deg); /*FireFox*/
	padding-left: 10px;
}

#sjbbar progress::-moz-progress-bar			{background: #1876ba;}
#sjbbar progress::-webkit-progress-value	{background: #1876ba;}
#sjbbar progress::-webkit-progress-bar		{background: #ffffff;}

#avebar progress::-moz-progress-bar			{background: #758990;}
#avebar progress::-webkit-progress-value	{background: #758990;}
#avebar progress::-webkit-progress-bar		{background: #ffffff;}

.sjbcaptions {;display:grid;grid-template-columns:10% 18% 18% 8% 18% 18% 10%;text-align: center;padding-top: 6px;margin-top: -29px;}

/* Application form */

#sjb #completed {color:green;font-size:18px;text-align: center;margin-bottom: 12px;}
#sjb .applybutton {margin-top: 12px;}
#sjb .applybutton a {display:block;padding: 6px;background: #1876ba;color:#FFF;text-align: center;cursor: pointer;border:none;text-decoration: none;font-size:18px;border-radius: 4px;}
#sjb .application {display:none;}
#sjb .sjbfields {display: grid;grid-template-columns: 10% 90%;grid-row-gap: 12px;}
#sjb .inputblurb {margin: 12px 0;text-align: left;}
#sjb .inputlabel {margin: 0 12px 0 0;text-align: right;line-height: 31px;}
#sjb input[type=text] {width:100%;border: 1px solid #1876ba;padding: 6px;box-sizing: border-box;color: #2C3E50;font-size: 14px;outline: none;border-radius:4px;}
#sjb input[type="checkbox"] {display:none;}
#sjb input[type="checkbox"] + label::before {
	width: 20px;
	height: 20px;
	border: 1px solid #0e5e9b;
	background-color: #fff;
	border-radius: 4px;
	display: block;
	content: "";
	float: left;
	margin-right: 5px;
}

#sjb input[type="checkbox"].required+ label::before {border-color: #15528c;}

#sjb input[type="checkbox"].warning + label::before {border-color: red;}

#sjb input[type="checkbox"]:checked+label::before {
	box-shadow: inset 0px 0px 0px 3px #fff;
	background-color: #15528c;
}

#sjb .submit {font-family: inherit;font-size: 18px;height:auto;width: 100%;box-sizing: border-box;line-height:normal;margin: 12px 0 3px 0;padding: 6px;background: #1876ba;color:#FFF;text-align: center;cursor: pointer;border:none;border-radius: 4px;}


/* The Modal */
#sjb .modal {
	display: none;
	position: fixed;
	z-index: 1;
	padding-top: 100px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}

/* Modal Content */
#sjb .modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 90%;
}

#sjb .modal-content p,
#sjb .modal-content h2,
#sjb .modal-content li {
	color: #343848;
}

/* The Close Button */
#sjb .closemodal {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

#sjb .closemodal:hover,
#sjb .closemodal:focus {
	color: #343848;
	text-decoration: none;
	cursor: pointer;
}

/* Error Message */
#sjb #error {display:none;color:red;font-weight: 900;}
#sjb .error {color:red;}


/* Small Screens */
@media only screen and (max-width:600px) {
	#sjb {font-size:12px;padding:12px;}
	#sjb .sjbfields {display: grid;grid-template-columns: 20% 80%;grid-row-gap: 12px;}
	#sjb .sjb_sliders {width:100%;}
	#sjb .output-values {line-height: 25px; font-size:15px;}
	.sjbprogress {
	display:grid;
	grid-template-columns:1% 24% 24% 2% 24% 24% 1%;
	color: #343848;
	margin: 20px 0 20px 0;}
	.sjbprogress2 span {bottom:-16px;font-size:12px;padding-bottom: 0;}
	#sjb progress {width: 90px;height: 50px;}
	.sjbcaptions {;display:grid;grid-template-columns:1% 24% 24% 2% 24% 24% 1%;text-align: center;padding-top: 6px;margin-top:20px;line-height:15px;}
	#sjb .summary {font-size: 16px;}
	#sjb .savinglabel {font-size: 12px;}
}